<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="jquery-1.12.4.min.js"></script>
    <script>
        $(function() {
        var div1 = $('#div1');
          // 发送 Ajax 请求
          $.ajax({
          // 请求的网址
            url: "https://image.baidu.com/search/acjson?tn=resultjson_com&logid=7217367652009448130&ipn=rj&ct=201326592&is=&fp=result&fr=ala&word=%E5%9B%BE%E7%89%87&queryWord=%E5%9B%BE%E7%89%87&cl=2&lm=-1&ie=utf-8&oe=utf-8&adpicid=&st=&z=&ic=&hd=&latest=&copyright=&s=&se=&tab=&width=&height=&face=&istype=&qc=&nc=&expermode=&nojc=&isAsync=&pn=210&rn=30&gsm=d2&1685454799580=",
            // 请求打方法
            type: "GET",
            // 返回的数据类型
            dataType: "json",
            success: function(response) {
                alert('请求成功')
                for (var index=0;index < response['data'].length; index++){
                    var img_url = response['data'][index]['thumbURL']
                    div1.append('<img src="'+ img_url +'" alt="">')
                }
              },
            error:function(){
                alert('请求失败')
            }
          });
        });
    </script>
</head>
<body>
    <div id="div1"></div>
</body>
</html>